<script setup lang="ts">
console.log(uni.getSystemInfoSync(), 'uni.getSystemInfoSync()');
const { statusBarHeight, titleBarHeight, screenHeight, isIphoneXSeries, windowHeight, pixelRatio } = uni.getSystemInfoSync() as any
let headerHeight
// #ifndef H5
headerHeight = statusBarHeight + (titleBarHeight || 44)
// #endif
// #ifdef H5
headerHeight = (titleBarHeight || 44)
// #endif
uni.setStorageSync('windowHeight', windowHeight)
uni.setStorageSync('NavBarHeight', headerHeight)
uni.setStorageSync('statusBarHeight', statusBarHeight)
uni.setStorageSync('isIphoneX', isIphoneXSeries)
</script>
<style lang="scss">
@import '@/uni_modules/uview-plus/index.scss';

page,
text,
view,
navigator,
swiper,
swiper-item,
image {
  box-sizing: border-box;
}

page {
  background-color: #f3f5f9;
}
</style>
